package com.example.service;

import com.example.pojo.User;
import org.springframework.stereotype.Service;

import java.util.List;


public interface UserService {
    List<User> getAllUser();

    int addUser(User user);


    int deleteUserById(int id);

    int updateUser(User user);
}
